Printf Function

You can use the Printf function to display string in debug mode.

Printf Function

Figure 4-60: Printf Function

This is a good way to trace your SFCClosed"Sequential function chart" It can be used to program processes that can be split into steps. The main components of SFC are: - Steps with associated actions - Transitions with associated logic conditions - Directed links between steps and transitions programs. Note that you can also use the PrintMessage.

For more details, see printf